<?php

/**
 * Удаляет файл.
 *
 */
class Tests_Backend_Questions_DeleteAnswer extends Kernel_Filter
{
    
    public function process() 
    {
        database::delete('tests_answers', (int)Application::getRequest()->get('answer'));
        $this->_location($_SERVER['HTTP_REFERER']);
    }
    
}
